import { combineReducers } from 'redux'

import routes from './routes'

import * as goodsReducer from './goods'
import * as authReducer from './auth'
import * as userReducer from './user'
import * as orderReducer from './order'
import * as activityReducer from './activity'
import * as smsReducer from './sms'
import * as systemReducer from './system'


const rootReducer = combineReducers({
  routes,
  ...goodsReducer,
  ...authReducer,
  ...userReducer,
  ...orderReducer,
  ...activityReducer,
  ...smsReducer,
  ...systemReducer
});

export default rootReducer;

